import Layout from '@/layout'
import RouteButtonsBuilder from '@/framework/infra/router/RouterButtonsBuilder'

export default [
  {
    path: '/pay',
    component: Layout,
    name: 'pay',
    meta: { title: '支付订单', icon: 'el-icon-s-help' },
    children: [
      {
        path: 'payment-order',
        name: 'pay-payment-order',
        component: () => import('@/feature/pay/app/payment-order/index'),
        meta: { title: '支付订单', icon: 'table' },
        buttons: RouteButtonsBuilder.builder('pay-payment-order').curdoo()
          .build()
      },
      {
        path: 'refund-order',
        name: 'pay-refund-order',
        component: () => import('@/feature/pay/app/refund-order/index'),
        meta: { title: '退款订单', icon: 'table' },
        buttons: RouteButtonsBuilder.builder('pay-refund-order').curdoo()
          .build()
      }
      // #appendSpot# 生成工具用，不要删了
    ]
  }
]
